export default {
  pages: [
    'pages/index/index',
    'pages/order/index',
    'pages/profile/index',
  ],
  subpackages: [
    {
      root: "packageA",
      pages: [
        'login/index',
        'authentication/index',
        'success/index',
        'cargoFeeSuccess/index',
      ]
    },
    {
      root: "packageB",
      pages: [
        'deliver/common/index',
        'deliver/waybill/index',
        'orderDetail/index',
        'edit/index',
      ]
    },
    {
      root: "packageC",
      pages: [
        'payment/index',
        'cashier/index',
        'agreement/index',
        'evaluate/index',
        'evaSuccess/index',
      ]
    },
    {
      root: "packageD",
      pages: [
        'member/index',
        'pay/index',
        'paySuccess/index',
      ]
    }
  ],
  permission: {
    "scope.userLocation": {
      desc: "你的位置信息将用于小程序位置接口调用"
    }
  },
  entryPagePath: 'pages/index/index', 
  tabBar: {
    list: [
      {
        iconPath: 'resource/deliver.png',
        selectedIconPath: 'resource/deliver_selected.png',
        pagePath: 'pages/index/index',
        text: '发货'
      },
      {
        iconPath: 'resource/order.png',
        selectedIconPath: 'resource/order_selected.png',
        pagePath: 'pages/order/index',
        text: '订单'
      },
      {
        iconPath: 'resource/mine.png',
        selectedIconPath: 'resource/mine_selected.png',
        pagePath: 'pages/profile/index',
        text: '我的'
      }
    ],
    color: '#515151',
    selectedColor: '#f18340',
    backgroundColor: '#fff',
  },
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTextStyle: 'black'
  }
}
